package com.dataSructure.list.linked.singlinked;

public class LinkedNode {

    public int no;
    public String name;
    public LinkedNode next;

    public LinkedNode(int no, String name) {
        this.no = no;
        this.name = name;
    }

    @Override
    public String toString() {
        return "linkedNode{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", next=" + next +
                '}';
    }
}
